<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        *{
            user-select: none;
        }
        #parent{
            width: 500px;
            overflow: hidden;
            margin: 0 auto;
        }
        #ul1{
            margin: 30px auto;
            border-right: none;
            padding: 0;
            height: auto;
            overflow: hidden;
            position: relative;
        }
        #ul1 li{
            list-style: none;
            border-top:none;
            border-left: none;
            float: left;

        }
        #ul li.style1{
            background-color: red;
        }
        #ul1 li.style2{
        }
        .style2 img{
            width: 100%;
            background: url("img/草.png");
            height: 30px;
        }
        #ul1 li.style3{
            /*background-color: orange;*/
            /* background-color: transparent;*/
            background: url("img/草.png");
        }
        #btn{
            position: absolute;
            left: 50%;
            margin-left: -50px;
        }
        #btn:hover{
            background-color: #E21918;
            color: white;
            border-radius: 4px;
        }
        .bk{
            background: url("img/草.png");
        }
        .lead{
            width: 30px;
            height: 30px;
            /*transition: 90ms linear;*/
            /*background:url("img/猪.png");*/
            position: absolute;
        }
        .lead img{
            width: 100%;
        }
        .skill img{
            width: 100%;
            height: 100%;
        }
    </style>
    <script src="jquery-3.4.1.min.js"></script>
</head>
<body>
<div id="parent">
     <ul id="ul1">
     </ul>
</div>
<!--<input id="btn" type="button" value="开始寻路"/>-->
     <script type="module">
         import {game} from  './tack.js'
         import {clear} from  './function.js'
          game();
     </script>
</body>
</html>